Template library for configuring OS