Revert "Revert "MainCode""

This reverts commit 829d0eeb546205ac933b22849bb6d0c448344f5c.