Created server api methods in class ServerApi