core_key: always pass positive n to key handler
add core_selection and core_transform module