add possibility to get worklog entries
identation and mistakes fixes
small improvements in function name and imports