Update App.java

1. header allow origing updated 
2. default searchTerm added as bag
3. hashmap added for static caching (can be removed once response times improved)