Fundamentals for the development of a Risk-Based maintenance Program and Optimal Spare Part Stockholding Methodologies. Part one