Implemented full API
Package imports
Introduced logging
Make connection an attribute
Started working on protocol docs