Define public API

Extract interface for Generator and Config classes.
Update README regarding semantic versioning.