added media class
deleted take photo activity
media class and esclient class