Created repositories and added ComponentType model