Created separate HTTP module and added functionality of retry