Made changes to support new API.

Changes:
 * support for the new ConfigurationManager
 * added default Config::VIEWS_DIRECTORY value