* improve cpp template (add more event handler) * fix C-style pointer casting
* Tidy project file tree and all symlink support