Datamapper needs to be in main file