code cleanup / reformatted
completely refactored code.
added method for taking existing JSON into form.
missing class fixed