split the code over files naturally
fix file splitting bugs in drawHearts