Refactor connection_pooler code
- Move all the relevant code to a separate file
- Move all the related tests to a separate file
- Avoid using cluster where not required
- Simplify the logic in sync and other methods
- Cleanup of duplicated or unused code
Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>