Created demo.cpp and implementation files