add member domain, repository and simple test.