separated prompt from libs and added to index.js
test added and all of them pass, update to 0.4.0