Modified web app structure some more and added output explaining which each function is responsible for