Some updates.

- Page admin functionality
- Bugfixes
- Rewrites to support the new database structure.