Changed the way we deal with assets: copy the whole folder instead of individual files
Added a throw in case requires' type is invalid