Revised Items

Rewrote a lot of the structure of the files and elements. Added the
validate function and tried to implement it into the main site without
success.