moved kdapp to global namespace - could not get CS's namespace method to work