refactor rest to take array of ids and to add cakes to DB; initial
commit for DAOClient - read and write functionality