Update on pyfed library (for python)

Made a 2 PR
First is for the model refining

second is for the server and client endpoint. This is a Draft