Removed unused imports.
Comments updated.
Added travis configuration