Move MediaStore into environment and implement file MediaStore