fix function name consistency
add package import
update nnlayer package import