moved to API-based model for package operations
added size arguments
initial interactive mode interface work