added entity defs so that we dont have to read file everytime