Create FunctionSingleton.java