Working example for database accessing

The trick is marked in run.py and then we can have access to database do
whatever we want. Solution tested but performance is not verified.
Related link is here:
https://github.com/abourget/gevent-socketio/issues/174.