Remove unnessecary Python object wrappers
Extract local server related code into ERAPIServer class