Fixed unnused imports
Fixed Main to generate sql script correctly; now the last sequence value is set at the end
Added Profiler class and set it to true by default