error

added error message to action dispatching
Added default setting

added environtment setting to default
Settings as class methods

Settings are now added as classmethods in application class instead of
its own.