refactored domain and repository to make more sense - now there is no 'repository' there's a 'database' and a 'thing-repository' - and the generic 'domain' component has been split from the actual 'things' namespace in the domain. I hope that makes sense.