Refactoring to a normal package

- removed surplus statics
- camelCase variables
- PSR-s
Refactoring to a normal package

- removed surplus statics
- camelCase variables
- PSR-s
Major changes:

- added ability to send through socket and curl
- added some OOP stuff