added separate files for sending functions
moved sending functions to a separate file and just left declarations
corrected sending function names to send_req