Core library for HOSS