created separate class for the interface section.
create separate class for the interface section.