Foundational layers for web applications written in F#