added controller and some specs