added an util to generate class file and migration xml for a given form