changed code to eliminate nil class error
added changes to elastic search query and foundation wrapper for welcome screen
code formatting
modified elastic search