Refactor package for source distribution (#12)