Add Eclipse project file
Fix compilation errors