Added main script for beacon and charging station.