Add base logic and structure of data processing