Added functionality which handels the default and submitted values of fields better. Also added a method to add a placeholder to a field.