Added custom fields table to DB, added model with relations.