Move all the code around