Created DatabaseServiceConnection class and DatabaseListener interface for Activities that interact with the database
Added reference counting to the DatabaseHelper class so that it will close the connection when there are no more references to it