main: move prepareArgs to common
build: add params operand to build function
build: add optional build package option
watcher: inject params to MustRegisterWatcher function
main: inject params to Init method
watcher: return fatal error when watcher path is wrong