refactored singleton to init only once and not in each view. fixed all sorts of issues i was having passing data between views.