I would like to create an OS X app that can handle documents. Each document can be opened in a different window.
My idea is to create a stack that is build as standalone and is keep invisible, this stack should work as a template. Every time the user creates a document I would create a clone of that stack and save it as stack file. So I have a certain number of questions and dubts...

First problem, how to accomplish that when the user double clicks the stack file on disk, the .app is opened?