Convert status.applescript to UTF-8
Move getStatus() into hermes.lib.php
status.applescript returns a JSON object

hermes.php shows a lot more.