Correctly load events and tasks inside Laravel