Merged the two factories; Added basic temperature setting