Added -parameters option
AbstractSelectStatement doesn't need a klass object.
refactor the class structure