made changes to interface and added model class plant