Refactoring & code cleanup.
Added ConstantEvaluator & SerializationExtensions tests.
Added License.