public ServiceManager()
{
//The directory to check for dlls to load
deploydir = AppDomain.CurrentDomain.BaseDirectory + @"\..\app\services";
if (!new DirectoryInfo(deploydir).Exists) Directory.CreateDirectory(deploydir);
fsw = new FileSystemWatcher();
fsw.Path = deploydir;
fsw.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.FileName;
fsw.Created += new FileSystemEventHandler(fsw_Created);
fsw.EnableRaisingEvents = true;
LoadServiceHandlerAssemblies();
RegisterServiceHandlers();
}