split project into service and cmdline version, with common code in a DLL
ignore packages subdirectory
remove superfluous references and using directives