Platform Integration

integrated the platform with the rest of the code