PIE is easily extensible, and can be modified to use a database for storage, for example. The API is described below.