Setting up database and Category/Page models