added some documentation and made some variable names more consistant.  I also changed Background ot BackgroundLayer