Updated to use the new Client class and added library read/write functionality to the SongManager

Write the library file in an asynchronous fashion via separate thread.