removed old domain model file
translated domain model to ruby syntax