Create base models and records