Add version string and -number for daemon, added custom ems query and command