Opensource package


Merging this PR for now so that package is passing builds on Travis. Another PR will follow with more tests.