Making it possible to create a client from a config file; adding persistence layer; tests needed