Working on issue #28
Update gitignore
Fix event handler
Rewrite build tree method
Add expendable flag
Fixes #28
Remove TODO flag