a light weight library for common use