closure function codec bugfix
project assets
clean up
merge encrypt branch with optimization
synchonize with master