Finally .... ;-))))

After lot of work we have:
1) readline lib
2) command dispatcher