An Idea how to share a model between client, server and database