Refactored according OOP
Added FileExists function
Deleted
Deleted.
Global refactoring and code optimization.