Refactor: Simplify processSection code (extract methods)
Implement relative paths (relative the the input html file)