added add client. Closes #4