Refactored database class to use dictionaries and separated out concerns
Refactored Trip class to use dictionaries (an attributes @property)