Created asset manager.

It is the responsibility of the asset manager to load, maintain and provide all game assets. I also corrected the way in which components are destroyed.