Fix module level docstring
Add support for json and yml files and refactor