Recovered skeleton

Initial layout of the BAS app
Database interaction

Added interaction with a local database to store the BAS points as they
are generated
Minor bug fixes

Minor changes prior to sending pull request