Finished database implementation, added page model and started implementation of navigation