add an example to show how to write a own module
added an example to connect to mysql server
modified an example
add an example to query mysql server