REFINED

refined some of the files and started trying out adding some php to the
document.