cleaned up manual heartbeat module a bit
draft manual implementation of reputation module