Promisify prompt
Add template sample