generate controller home
init smarty