moved stack.h and .cc to stack folder