Refactored config loader.
Added travis.