Basic2

changed cache types and store the data as json