Added config parser. First approach to saving on mongo