Added repository and web projects with associated test projects

Code Contracts was being a pickle.