Moved background type to seperate file.