Implement last names database in MainActivity.