add new routes. Data loading and saving refactored