Updated package files.
Revamped logging. Refactored client.