Major Changes to lots of things

Lots of refactoring and other changes. Config file added. Page
generation changed. Logon v0.02