Implemented the function to fetch a raw resource file. Refactored the importing of both constructors.