Added sending out coin message, and also stores ec2 g2 info to database