add stack card and some refactoring

A basic HyperCard stack is implemented and tested in test.fbp