[refactor]move func_key from user application to this own package