Update and rename build/CMakeLists.txt to CMakeLists.txt

Moving CMakeLists.txt to root so that the cmake code generator can generate the eclipse files correctly. Without this change the eclipse was not showing the source and header files correctly.