add selector module
move selector code out of the board module
hide private selector details
update compiled javascript