Added Toms Items

Added Toms items and that is completely functional. Fixed some bugs.
Added real escape string functions to fix bugs with inserting into
database.