Usable postgres backend.
Removed all the unneeded management commands.
Docs and cleanup.