move help and version out of class