Move all the code in App_Code.

Moved the code, beautified it using standard VS tools.