Update "generator:controller" and "generator:model" methods for accept
extended class

Signed-off-by: willmendesneto <willmendesneto@gmail.com>