Registration func

- implementation of registration core functionality
- DAO, Service, Controller layer were implemented