Standalone PHP 5.4 Model layer