Getting "send" button working

and formatting all the files