Create CommonFun.java