Created background and Refacored the structure