Added necessary activities and layout