Generate analyze controller