added migration file
Fixed the template. Improved search.