Add CONFIGDIR constant
Create config loader class
Move loading configuration to Config class