updated controller and readme