GH221 - Refactor: moved AddElement flex logic and model resource file
logic in CodeSync + general AddElement server logic (initial, works with
JS)