basic controller structure and first tests