Removed knodule query implementation
Updated knodule use of refdb