Added some code that prepares the fault detection package for being able to use different types of fault detection algorithms