reorganized compiler, add 'preview' feature in editor