Implement most of stacks

EdgeOutput is incomplete
Stubs for other classes so that everything compiles