Locally Recoverable Codes over $Z_{P^S}$