added dao methods, service methods, errors, config