added lot class with unit testing