Models and controllers for III Sierra Postgresql database backend