Routes, files are saved to localstorage, some restructure in the code.