Add domain concept

Added domain. Works with gachette filesystem persistence layer.