moved ngApp and MainController to body
splitted controllers