Adding Register Classes

Plus: Role class added. Its logic still needs to be adapted to the
program, though.