fix bug, move all folder to public path and fix competition with pkg package manager