Removing extraneous event for register
Changing search to emit a 'results' event instead of 'result'. Also removing register tests
Changing 'result' to 'package' for clarity