updating requirements and tidying webapp