Create selector.java