Updated the functionality for todos on both frontend and backend code as well as styling
Mostly working javascript functionality