upload added.
from sleek.
moved elasticserach codes from sleek.