Some more comments, refactor KHCompleteAction's and give it proper input checking
add some documentation and improve lambda usage