Refactored Main Update Routine

Made pseudo gamestate manager with enum. Update method now a switch
statement calling the necessary update method.