Add routes, configs and funcionts to add files