Added data access module, added tests and implementation for register save method