Optimized imports.
Added configuration parameter to dimension registration.
Added configuration and automatic ID allocation.