Removed FlatfileMap and IDatabase because of redundancy. Modified
SQLDatabase to provide more flexibility