Added tests project.
Defined StyleCop rules
Code cleanup on VS auto generated code.