update config classes to use LoaderInterface
add ClientInterface to DatabaseClient and LoggerClient classes
move some stuff