Update to project code conventions.

@djdamc I've done my best to update your code to match the TFS 1.0 code conventions that I can deduce from Mark's notes and looking around. 

I really hope I did not break anything and I hope you continue to work on this great contribution to the community.