restructured AirDB into a header file and added a Test file with Main method