Changes to add travis integration and minor changes to javadocs