Add basic layout of pages and template system.