Implemented element definition to compound creator

*Implementation of element definition to compound creator
*Clean up of code after removal of legacy compound creator tools