all configurations moved to config.json, stuff done in __init__ before is moved to new methods