add 'require_relative' for export, @todo wrap ruby library in folder
more consistent use of {} blocks