breaking out files
js cleanup random logic for setting up board
don't turn if obstacle is present