Made model changes and adjusted Types accordingly. Added primary functionality to a DbInterface class. Some other changes.