make auto create api instance when app start
add grab photos method