made config loading methods. Need to finish door direction handling. Tests not working yet