Removed all dependencies from API module, added REST API controller for flight entity, added utility converters from entities to JSON objects