Add And/Or/Not/Bool/XConstant filters
Add relative timing calculation
Allow "top-level" profiling flag
Implement readFrom and writeTo