restrict singleton in windows

Only one mongoose allowed, and make service control more specific in a
mongoose way. When a application run, it will check whether a service
has been created. If a service exists, it change to a monitor for the
service, otherwise it will do the server job.