Added ecompass demo code.