Added create functionality to Postgres db

Can add new events (status updates) and retrieve from/to the postgres db