Moved axis configuration into a separate type