Separate lib code from cruby code.