Generate model for project