Basic demo - <head> clean up and docs

Refactor code and document dynamic PHP grid system.