Changed settings and output into objects instead of classes with only static methods.

Renamed several files so their names match their class.