Added error handling. Created an HTML form for the buttons and messages. Added basic comments. Need to add more comments and update readme.md