Added Example.cpp.
Renamed some public functions.