Added led and button classes, rearranged behavioral code