create sql if nohting is set
report class in exception
fixed iteration logic
removed to srting method to make debugging easier
broken session prodiver into smaller definitions
database tweeks and more tests