Got the switch and door working

Got the switch and door mechanic working, well the door is more of a
moving piece of ground but it does the trick for now!