Added comments & configurable actions.
  Updated to use the defined port.
  perltidy
  Added in the JSON HTTP-Server.