Modified arch to ease intergration with flask
Added loading animation and seperated localstorage methods from UI.dart