add fabric method for creating a client