added versioning
documenting the API so far