Moved an Exception class to the core, tests now pass
Added .travis.yml for CI