Issue #2: Finished clean-up and documentation of the back-end library