Detecting Android Malware and Classifying Its Families in Large-scale Datasets