Add global  variable
Public some methods
Add more example to function.php