revamped settings model and class. was not working as expected before

Signed-off-by: Daniel Berry <danie@danielberry.me>