Create schedule entity and repo