Added adaptive (abstract) classes

Added adaptive TileEntity and IInventory classes