added compilation and editor support