Core library for Janus