modified images directory to assets, handed back more functions to parent