renamed "gen" package to model