Service objects, added class and test from post

Class: https://gist.github.com/createbang/1a2bcc38c6e3cc603ccb#file-determinestudentpassingstatus-js
Test: https://gist.github.com/createbang/021c975547f63c5daed6#file-determinestudentpassingstatus-test-js