add command-line utility, custom exceptions, etc.
bump version to 0.4