testing std threads
ordering threading stuff and base64
getting the packet ready