Fix packaging and add docs