Added a simple home contronller and set to use Postgres databases