Switched to postgres and added DB configs. Added prototype controller.