extracted Interface for basic effect
added generic constant buffer class