Implemented the level manager.
Added the level manager.