Started implementation of controller