Minor code formatting improvements
Refactor url_to_structure to use structure_unified table

Closes #183.