move MainActivity to ui package