remove form, cleanup main ruby file