Removing useless imports, reverting Ratio option
Enhancing inline documentation
Fixes #17