refactored simple config storage
for default files, switched from json to php arrays,
for phtml files, switched from php objects to php arrays,
for DB storage, switched form json to serialized php because it decodes 47% faster and most of what we do is decodeing