extract hooks from DbSql to independent class.
create simple Dao; for manipulating using arrays.
set read or write configs; separate the building of ConnectionLocator.
support for profiler.
removed unused use statements.