update server v 0.0.2, use Object Oriented