use factory pattern for dbhelper
added lint.xml