heart monitor in it's own project, other refactoring