Add main and model files