Shortened class declarations.
Moved config loading code to config.