ruby library and modules