Helper methods,comments and client command handler