Horizontal line to and relative line commands

Also added copyright notice and started adding documentation, updated
the readme file to include an example and some refactoring of the
commands