Added a Client

Added more functions for the second exercise and more tests for those functions as well.