initial commit of controller for local testing