removed C++ new and delete
Merge branch 'master' of https://github.com/MelkoCollective/extended_hk
to add changes by Roger Melko