Started work on modes

Mode will be the program's way of handling events and over stuff, for
example editor mode, gaming mode, main menu mode etc.