Reorganise project structure as a library and split up main.rs
Add Travis badge and sample tone to readme