```ruby
# encoding: utf-8

module Rubyzome
    # TODO: centralize configuration for example: default is app/ directory (should be different)

    # Include all controllers 
    Dir["app/controllers/*.rb"].each { |file| require file }
    
    # Include all specific views (if any)
    Dir["app/views/*/*.rb"].each do |file| 
        require file 
        viewname=File.basename(file,File.extname(file))
        typename=File.basename(File.dirname(file))
        $views['/'+typename+'/'+viewname]=Kernel.const_get(viewname)
    end
    
    # Include all models
    Dir["app/models/*.rb"].each { |file| require file }
   
    DataMapper.setup(:default,$db_url)
end
```

Update to be Datamapper 1.0 compatible
user
```ruby
# encoding: utf-8

module Rubyzome
    # TODO: centralize configuration for example: default is app/ directory (should be different)

    # Include all controllers 
    Dir["app/controllers/*.rb"].each { |file| require file }
    
    # Include all specific views (if any)
    Dir["app/views/*/*.rb"].each do |file| 
        require file 
        viewname=File.basename(file,File.extname(file))
        typename=File.basename(File.dirname(file))
        $views['/'+typename+'/'+viewname]=Kernel.const_get(viewname)
    end
    
    DataMapper.setup(:default,$db_url)
    # Include all models
    Dir["app/models/*.rb"].each { |file| require file }
    DataMapper.finalize
end
```
assistant