deallocating everything at exit
Merge branch 'master' of https://github.com/ahonorat/se_emk