Most functionality for first three pages implemented. About to try a model-view-controller implementation.