Some bugs where fixed;
implemented the register header abstraction;