created activities and layouts