Cleaning sources

- Correcting all warnings
- Cleaning .java~ from ./src folder