create/view/edit/delete - is working now for params
little refactoring + attr improvement