Forms now collections of SQL tasks

Also added stuff to handle time fields