Moved all of the code to legacy folder