freemarker lib added;
made simple sql export