Basic persistence implemented.

Todo: Send mail notification, invite, notification service.