Traffic Controlling and Monitoring using Internet of Things