Uncommented parts of main file.

Uncommented most if not all of the main file and recompiled.