first release version on pypi

* refactor server.py
* fixes in setup.py for pypi
* some documentation but not much
* added some example files