fixed overlapping InputBuffer constructors and added BufferConfiguration and BufferConfigurationBuilder