Added Menu class and some of its methods. Improved main a bit (still needs a lot of improving)