Foundation modules for DCI in Ruby