feat: finish croakfile support, minor refactors, update docs