Added Problem class
Verbosity and readability