WIP massive refactorings to both clean the code and add support for reciving the responses for send requests