Added simple stats collector for problems
Added simple command-line interface

Very hacky, but works for testing