Updated Main class with new system

Added a new way of scene Changing using hashmaps