Create Cost.java