Consolidated configuration classes.

Moved all of the into src/main/java. Got rid off the common superclass as it now adds more noise than clarity.
Added readme.