General fixes
Fixed compilation errors
Added missing destructors
Fixed makefile
Updated eclipse project file