Created mainController, added jquery