Added dependency for kryo and implemented client slightly