add postmanager and basic db