models & templates init