Tons of changes, mostly around fixing to work Laravel instead of CodeIgniter