Quasi Random Deployment and Localization in Layered Framework for the Internet of Things. (14th April 2017)