remove old code
implement controller generator classes