more work on heartbeat
refactor function for Chunk to check remaining space
fill out the heartbeat client

and initialize an instance in every chunk server instance
update imports
add updateActiveHosts() fn
clean up outlined functions

some were implemented elsewhere/will be implemented elsewhere and are
no longer relevant.. no point in keeping them around.
add module-level comments

…need to be clear and descriptive.
small bits of comments and code tweaks