Moved logic about how to generate SQL from "abstract" parent class to its child (polymorphism)
Merge pull request #1 from svobom57/responsibility_refactoring

Moving responsibility down to childs