More inline documentation. Adding testing infrastructure and enabling Travis.