Added new functions for printing hashes, decoding/encoding torrent metadata and initializing peer manager