Added layer and error bars

Still need to listen to value change.