Created CMakeLists.txt and Makefile in stack directory.