try opening the connection in init step depending on its state
formatting
passing tests with SQLite
formatting code comments nicely