set up link.rb containing the model. declared the environment to datamapper gem. added databases.