added data controller
added fetch trends functionality
changed the z score implementation