Added flatpages to installed apps
Implemented flat page support