Copied smeedmote code into SmeedAviation