New rails stucture. Postgres db added.