move directions classes in the external files