Working on texture support

Also redid Attribute types as an enum