Refactored Semantics to index.html and additem.html