renamed a few files
db access file moved inside includes
introduced api listener class and moved more classes around. More refactoring done.
added license API query listener class