Moved background code into backgroud.js and started refactoring. will adjust this depending on how i decide backgrounds should move