Add lib/Registry.php