initialized migrations and set up page templates and views