Initial implementation of saving shapes