Create background.js

i need to format the file but for viewing purposes here you go.