Rewrite to use a global metadata instance
Add the ``warehouse`` command
Depend on psycopg2
Include development configuration