Add stack framework and demo