Allow for arbitrary returnn value type
Fixed PhpDoc's
Renamed internal and API methods
Moved login procedure into plugin
Session ID lazy initialization