moved service to separate process to reduce memory usage