Made a seperate Class (Methods) that will hold a lot of methods.
Cleaned code in IDCEvents clas
Cleaned up code
Put config related methods in files class