add manpage and tidy up

Signed-off-by: Stephen Gran <steve@lobefin.net>