Move old code to deprecated folder

Will delete upon completion of rewrite