Contracts classes extracted to a Contracts library to allow reference fr...

...om c# clients