Refactor code to use latest version of Skuë project. Usin a view layer to consume and produce JSON format