main app for calling braid dll