added emperor config, refactored systemd service