Added pre-build hook script.
Updated README with install and usage instructions.