Refactored into repositories. Added methods that can be called by the app involving trips.