Removed Java warnings and removed race from main
Source refactor, cleaned the remains of the race
used references to avoid copying on each weight synchronizing
Added project files