added local consistency checking
added join, moved box into domain sub namespace