updating with new code
updating with new code
updating adaptors to add logging function, restructuring config a bit