Create model.py

It's only beta not working. still working on it.
#To do is to poll zookeeper to get latest list of agents.