API 2.0

Removed class Socket, more reliable more fast