Move functions in sep files and shiny