Added copyrights
Reformated code
Rearrnaged code
Changed the integration registry into a real singleton independent about its instantiation by other classes