Created required objects for better encapsulation.
Externalized hard coded params to property file.