New project structure

common, editor and templates are now separated.