Added registration functions
Merge pull request #1 from POMATu/registration

Added registration functions