A framework for creating modular implants to be used in training environments