reading settings from json

YAY!