moved direct register access to separate file, used via access methods