Refactor into single binary

Changelog:

- [X] Get rid of standalone subcommand binaries
- [X] Add HTTP status check for `pluginmgnt wget`
- [X] Code cleanup and syntax fixes