Added in coconut for java compilation
Small modifications for demo