#193: Make 'php/logic_loader.php' object oriented

Resolves #193.