Made the indexing a little more efficient on the db
Added basic search view