Minor cleanup / bug fixes

 * Fix mix-up between source and destination addresses
 * Add documentation
 * Add 'build' directory to .gitignore