Export classes

PR for #55. This exports the classes so that they can be re-used and extended in other packages.