Added logging class

Added singleton longing class extended from python's logging module.
It's lazy, but it works and it's easy.
Also started adding checking the values in the config class