Merged with ResearchUtil
Repackaged to allow for easier api use
Tidied  code with changes to YagokiCore