Create CMakeLists to configure build using CMake
Improve SQL to create user-defined functions
Explain build and installation process