made model classes slightly smarter; moved old details activities to legacy package