setup model/view file structure, separate db constants