Added Internet connection check function and DB version fetching from
server + checking