Setup entrypoints

Fixes #85. Needs review.
I don't think it's wise to make this a class attribute. It should probably go in init so it's a instance attribute.