Extract URL resolving functionality.
Split connection classes in different files.
Dependency cleanup.
Release version 0.4.0