Made folder inlining optional
README formatting
Renamed some functions
Added docstrings