fixed interface

removed interface classes.
simplified interface