change data scheme & implemented table controller