Fixed collision system and added new functions.

GameController, ActiveObject and more updated.