Created simple orm mapping