Adding the rest of the basic flow and some project fixes.
Added more control structures and beginning to implement some of the basic flow requirements.
Documentation pass.