resolve compilation errors, add deploy batch file