Create controllers and models