added simple layout
in the middle of detection
working on MM
R peaks search [alpha]