add sessions manager for vim
fix bugs and add NDL_HOME env variable