New methods

Sorted methods by name for readability and added buildProblem method