Unified codebase, added flash_beat pattern