Refactoring... adding table generator as base for the rest
Add service factory generator