Implement -version flag

what do you mean? what does the daemon do?