add mainActivity and layout