added relation model and edited task controller