Updated with CMake project files in 'dbagent'.

Replaced the old "Makefile" with the CMake project file.
Also, updated some logging statements (for debug purpose).