refact
rm direction.java