V1 Tidy Up

Moved the all code into the code folder to keep everything tidy.