add file to launch this via daemontools
improve the run script
Add a history api