Complete the add server example.
Add wrapper class for functions.