Refactoring and kill process on exit
Prepare 0.6.0 release