minor clean-up
moved #qnode to utils
requiring utils before they're used
basic implementation of FILTER