Added Logging
fixed merge confilcts
added log statement to heartbeat
Put logging config in init, removed redundant file log.py
Moved imports to the top
Merge pull request #18 from jivid/sakshi/logging

Added Logging
Fixed bugs in heartbeat code and added common messaging format to responses