Fixed several compiler warnings.
Implemented repair modules.
started work on overloading of modules.