fix objet declaration
fix problems with messages
add a testing python server