Cobras appoint new coach on two-year deal