cleaned up things so that they compile

I created a library for your calculator code. Then I fixed the UI so it would work. I took out your initial properties.cs file so that it would compile.