added apply background function and splash and background image
removed main