Added functioanity to manage cartridges for #15