add default mapping
move functions to autoload/