Improve the Loader API and add .travis.yml file.