dirmodel: move allocation of struct data to internal_init
dirmodel: move allocation of struct data to internal_init

This frees dirmodel_init of allocations and removes the need for the
loaded field of struct data.

cglindkamp/dfm