Pie CRUD; changed design a bit