added __get and __set

without this we can not access classes in the theme, which is very convenient when you just need to call a function like customer->isLogged() instead of going through the whole registry path.