Server implementation

Use of reactor pattern with python