refactoring background into Parser and BomManager
clearing the background page
refactoring popup
refactoring popup furthur
refactoring BomManager cart actions