Restructure

Change folder organizations and project structure to facilitate function
calls across codes.