created entries model and relationship to category