Initiate model and controller