The four stages of IoT development: How we get to a fully automated world