Add in rebar config.
Add in basic testing.
Add in travis-ci.