Moved the axis code into a directory