Added setAttribute and removeAttribute to Element. Added create(json) method to module