generalized & made item
changed rest services and provided all route to fetch all objects sorted by date