[Python] serve class is implemented
[Python] name class refactored
[Java] Made some minor code styling changes