It looks like you have developed two contracts. One for
SpaceMuffin and one for
SpacecryptFactory, which you achieved on your own.
How about having
SpaceMuffin within a
Spacecrypt? If you think it would be super cool, you're right.
This chapter explains you the long kept secret art of talking to Contracts. It goes through creation of multiple contracts, their communication and advanced operations in solidity.
Simply click the start button and enjoy the ride.