adding a new promise example
adding templates for compiled promise example