Moved the code that accesses the Stub DB to the AccessStubDB class.

Moved the code that communicates with Stub from the FlightScreen to AccessStubDB thus giving a layer between presentation and persistence.