Improved Pass definition and binding

+ Some name changed
+ Improved material loading