refactoring + added problemContents* functions
basic problem page