Implement loader feature
Add test for image files