add Layer.java , although I don't know if will use it.