moving old code into a legacy folder