added data service that sends data to chart controller. closes #2