Add registration form.
Reorganize config files.
Merge branch 'register' into dev