Added a menumanager and other stuff. Most things should be broken.