Implement factories for data storage

Made home and tabs view populate based upon new controller/factories paradigm