updates User and Application to send messages to the client where appropriate
removes scripts
removes commented pid-writing line and fs require

may never be used, the PID writing was broken anyway so something like
supervisord might be a better option when a service is needed