added beginning of timer function
shift everything into timer function
experimenting
added rudimentary timer functionality
added shebang to make executable
todo to add selector switch
prepare for split