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