(feat) functional fullstack implementation