(test) Added shell for testing the mainController in main.js.