add delayed_jobs
some model changes