refactored the form transformer to work with all entities hopefully and added a util directory and class