Moved collision detection to the level class and upgrade it.
added comments
stuff