Fixed tags to contain no spaces
Added search_format method to item models
Rewrote query execution