move src/subcommands to srv/share, and add common file to src/share (update Makefile...