Code organization

Just some tidying
Fixed a singleton warning
Board generation

-Added board_generator
-Organized menu
-Organized the code in modules