First version.
Man page added.
Signal handling added.