Added Marking class

Added marking class methods and also returning the ratio of marks