Removed the two-way dependency between config and adapter, introduced new config onjects and got tests passing