Base utility library