updated the libraries, fixed a few issues with the domain layer, applied those to API layer. Looks good.