added qoperator class
Added my own effective main which I can use for debugging.

You guys could mimic what I did and add your own code.

Also some files that meant the last commit probably wouldn't have
compiled.