Smart Management of Crop Cultivation using IOT and Machine Learning