Started with API part and fixed so seeding works