Modified element creating and resizing modules. Continue working on move.