Fixed up style and syntax.  Reduce complexity.  Added unit tests
Imporved serializer. Reduce complexity and added unit tests for PROV-N

Reduced complxity added unit tests
Imporved serializer. Reduce complexity and added unit tests for PROV-O
Merge branch 'feature/reduce-complexity' into develop