added classes and collision
added states and sounds