Refactoring

Unused Imports
Unused Modifier    
final field static to a good pratice
replace char to get faster
for, if, while, else with brace to get the code clean
unsead atributes
unsead paramethers
Loose coupling