Rename models as lib