Changed variables and added comments re layout

Variables should be easier to understand now and easily differentiable