json and data adapter added

Added json as input format. Adapter for preprocessing data added.