Added functionality to add, edit, view and delete problems.