Chage Makefile to CMakeLists.txt

Add DB manager class and Network manager class