Extract models into models package.