Added setSettings to Assignment model
Setting up submit function