Fixed two issues with the reourceParse. Added the list of available languages to the locals as well as an instance of the resourceAgent