Implementet FileTool to save registers
Implementet RegisterHandler to do registers singleton
Made some small changes
Made alot of fixes