change interface to from [] to  List;removed unused classes