separate python code and start OO c++ design