Some re-ordering and documentation.
Keeping branch up-to-date.
Adding port to url.
Using serverport to talk to server.
Adding docstrings.
Passing incorrect amount of arguments.
Getting cpu bit type for mac. Fixing import problems and sending correct arguments to functions.
Cleaning up agent.config template.
Adding space to log string.
Keeping branch up-to-date.