Refactor, use post instead of query
format
call worklogs
Closures
other improvements