add resource Material support + Clean resources

TODO : load material from json file