Refactor packages file to structure addon packages separated.