Change: Major refactoring

Moved out network and http functionality to their own packages.
Also created a new config package for future use.