Implement settings factory
Refactor registration

to locate the backend communication in a factory.
Merge pull request #7 from tobiasmuecksch/master

Implement settings factory and refactor the registration