added main kernel class - not done yet