introduced two functions to return list and dict of items
re-thought design of the app