Ok, This needs a lot of work as there is a lot of crap in here that is on the wrong page