A  PHP wrapper for mongo records