Issue #225, add competition model with relations