Index packages on import
Add package version parsing