Settings manager

Implemented settings manager.