fixing class name on model generator and reseting generator var on routes command