Changed how the main method and the constructor are working together.
Cleaned Code.