Move legacy functions to an archive directory