Adds basic but functional getFlights endpoint for both html and json views. Woohoo. Tests to follow.'