Remove use Orchestra\Support\Facades\Memory and Illuminate\Foundation\Application

Signed-off-by: crynobone <crynobone@gmail.com>
Use events property dispatcher instead of calling the event facade.

Signed-off-by: crynobone <crynobone@gmail.com>