Restructuring the package and some arbitrary tests.
Run sqlite test db in memory.