Switched to CMake Build and added travis support