Reorganized the repository to support the pacakging.