renamed resource classes to style guide and created comp_math funcs for all material-related calculations. updated resource func names to be CapCase and accessor_style. other tweaks.