Abstracted process code, and fixed on hhvm
Fixed a namespace
Laravel 5 support