modify pingvo and ping method;
add constants.java;