Create Compass.java