Create a base struct for repoitem