Add base loader class