improve knowledge module codE
combined executables
improve standalone application, knowledge module
remove comments