Adding explicit close on some SELECT statements.
Adding a Makefile to create a proper database structure.