deployment: organized code and updated manpage