Trying using doctrine to create and managa database entity