move attribute metadata to own file