Renamed classes and added DetailsFragment and ResourceManager so that every class can access the method getResId().