[API]: Add getcwd() func to api.server.path module