Doc,PrincipalActivity,API:Changed the class API to a correctaly communication with the server newDelhi