Starting a garbage collector for zombie clients. Added access-control-allow-origin and such to REST API to allow queries from websites.