Added Settings class.

Added Settings class to handle both application and algorithm
parameters.