Removed connection test as it is not needed.
Made connection method private.
Closed connections/cursors.
Removed connection method for now.
Changed to use database initialiser.
test to make sure at least one table is generated.