Fixed up config loading and Adding logging

Added verbose and debug logging levels
Added logging to files
Made config loading sane