Refactored resource and material files. #56