Experimental implementation of repository-pattern with PHP.