Gh 118 model use dbfiles

This pull request is waiting pending approval of https://github.com/PecanProject/bety/pull/73