Completed engine/state framework.
Made project buildable.