Adapting actors code to be compatible with python 2.7 y python 3.x
* Lots of fixes towards python 3