changed structs to simplify and prevent misuse that could cause problems, made proxy and monitor both so they won't exit if a service can connect - the rest will keep running, continued adding new functions.