Moved heartbeater to src/main/java