Updated backend. Added (very) basic necessary grade functionality.