Well let's be honest, it wasn't the easiest thing to read.
Anyway, I'm trying to help you. Firstly, you cannot 'do' or 'run' a class, nor can you call an object - you can only can only call public object methods. So,
Have you defined your class?
Have you created an instance of the class...