Server-side base functionality for the Loreli toolkit