create activities and layouts