common code for domain driven designed projects