Kal jul 17

Hi Paul,

Major code refactoring here.  All new work should be based of this. Many files changed especially JavasScript and CSS and images.

Cheers,

Kal