Refactor common fields code
Update dummy app and fix seeds