Pages now calling from the database

Not entirely true because it wont handle properly but.. it's
something...