reorganized decks object into "decks" list and "notes" list. now accessible outside of angular modules