Clean some unused codes
Add travis.yml for CI