Barebones commit. Includes documentation and code.
Adds tests and Travis integration.