organized the packages and added panteli's code for json production