Fixed itemTemplate usage
Added a simple implementation of Tree