added rest service

rest service for firefly
code chages
Merge branch 'master' of https://github.com/nileshpatel7048/firefly-hackathon