Created Resource.java which is a Model for the Resource database.