Added the Logger and some network functions