Convert Cousera submitSolution API from Python

Abstracted it so that we have more classes with responsibilities.