Split activity class into separate packages