Create Resource.java