refactored directory structure
fixed loading meta
fixed changing meta on Editor
always use validTypes even if there is only one