Functionality for reinstalling and locking packages. Also some options for searching and removing. Improvements