Some design changes in gst_stack