Engine + main, modifierad StateManager & State + State.cpp