Added promise implementation
Added todo rest app