Added Core

Improved configuration file, added core class.