implemented functional new blast input and database schema
improved speed by evaluating only "end" terms