Migrate source code from DDMS project and adjustment