Cleanup indentation and conventions
Move the base_path to a second argument, and add tests
Bump to version 1.1.0