Correcting licensing, removing redundant code, attempting to configure travis-ci.