Merge pull request #74 from pradpnayak/GEP-50

-- GEP-50, code cleanup and used __DIR__ function to fetch sql files
Merge pull request #75 from pradpnayak/GEP-50

-- Added code to support multi domain, GEP-50
--GEP-50, removed unwanted files
--GEP-50, removed unwanted file
--GEP-50, More code cleanup
--GEP-50, Updated core over-ridden files