Domain model definition. Used by various magnetfruit programs.