All the shared code, which might be used somewhere else