added problem 1
fleshed out config and base classes more, added documentation, trying to conform to PSR-1 as much as possible