Refactoring static pages spec.
Changing to postresql database.