A library for spell casting