finish first level of pages and db creation