Adds the recursively method and executeRecursively shared state function
Adds a sample application for testing visible