BoCXS: A compact multidisciplinary X-ray source