changed Config to take in the filepath, added a default constructor, and fixed the Peer class