Added boilerplate, updated README, added test and set up for Travis.