Renaming deprecated folder to legacy, to be more compatible with master branch.