Added Check and Inventory Classes

Added Check and Inventory Classes and test mains to subfolder