Implemented libraries correctly for the Ruins mod