Implementing column and relation model