scaper writes to db
added module.exports