Core library for Pendragon