refactored api.js execution to be more clearer
refactored workflow.js execution to be more clearer
added some comments + fixed some jslint stuff
Merge pull request #33 from dominikkukacka/feature/executionRefactorStructure

execution refactoring