Made config static class, it's really late I'll work on it tomorrow.