initial file re-org
Update gitignore
Optimized imports
Make heartbeat a module
Add setup.py