restructured some more files.
restructured files and added some new JSON handling files. Still incomplete.