a bit refactored version of SQLGenerator
brought back OBDAModel changes to Quest.java
 fixing bugs