Settings JSON module

Added settings.py that saves and loads data from file as a JSON.
Other bug fixes.