Added promise-based demo
Added promise-based application model