Refactor Google Directions model classes