mv datamapper setup to separate file