Currently the decision to load templates from local or us the prefix as libarary name is not clear from configiguration. Maybe also allow both, local dir and template directory.