Added ignoring of vim swap files
Refactored UI code
Added action field to the form