create activity controller