Add resources class for merlot api